@charset 'utf-8';

@mixin settlement_nav_hover{
    color: #eb413d;
}
@mixin btn_op{
    opacity: .8;
}
@mixin yeshu_hove{
    color: #eb413d;
    border-color: #eb413d;
}



.commodity_settlement_main{
    width:809px;
    box-sizing: border-box;
    min-height:1058px;
    padding:46px  21px 0 18px;
    border-left: 1px solid #e1e1e1;
    margin-left: -10px;
    .settlement_nav{
        ul{
            li{
                float: left;
                margin: 0 18px;
                &>a{
                    font-size: 16px;
                    color:#444f58;
                    position: relative;  
                    
                    span{
                        position:absolute;
                        width: 45%;
                        border: 1px solid red; 
                        bottom: -9px;
                        left:15px;
                        display: none;
                    }
                    &:hover{
                        @include settlement_nav_hover;
                        & span{
                            display:block;
                        
                        }
                    }
                    &:active{
                        @include settlement_nav_hover;
                        & span{
                            display:block;
                        
                        }
                    }
                    
                }
                
            }
        }
    }
    
    
    .settlement_seach{
        width:770px;
        height: 135px;
        background: #f7f7f7;
        margin-top: 33px;
        padding-top: 22px; 
        box-sizing:border-box ; 
        border-radius: 5px;
        .dingdan_id{
            display: block;
                margin-left:25px;
           & >input:nth-of-type(1){
                width:188px;
                height: 42px;
                margin-right: 30px;
                border: 1px solid #EEEEEE;
                border-radius: 2px;
            }
            span{
                font-size: 13px;
                color: #b2b5b8;
                margin-right: 15px;
            }
            input[type="date"]{
                width: 148px;
                height: 42px;
                border: 1px solid #eee; 
                border-radius: 2px; 
                
            }
            
            span:nth-of-type(3){
                margin: 0 8px;
            }
            
            
           .dingdan_search{
               input{
                   background:#EB413D;
                   margin-top: 14px;
                    padding: 0  38px;
                    line-height: 36px;
                    border-radius:19px;
                    cursor: pointer;
                    color:#fef5f5; 
                    &:hover{
                        @include btn_op;
                    }
                    &:active{
                        @include btn_op;
                    }
                }
               
           } 
            
            
        }
         
        
    }
    .dingdan_xiang{
            width: 770px;
            
            border: 1px solid #e7e7e7;
            box-sizing: border-box;
            margin-top: 13px;
            border-radius: 5px;
           table{
               cellpadding:none;
               cellspacing:none;
               border:none;
               font-size: 13px;
               color: #000;
               text-align: center;
               tr{
                   border-bottom: 1px solid #E7E7E7;
                   height: 88px;
                   &:nth-of-type(1){
                   text-align: center;
                   background: #f8f8f8;
                   height: 46px;
                   color: #a0a0a1;
                   }
                   th{
                       height: 46px;
                       border: none;
                       font-weight: normal;
                   }
                   
                   th:nth-of-type(1){
                    
                    width: 178px;
                   }
                   th:nth-of-type(2){
                    width: 165px;
                   }
                   th:nth-of-type(3){
                    width: 85px;
                   }
                   th:nth-of-type(4){
                    width: 149px;
                   }
                   th:nth-of-type(5){
                    width: 63px;
                   }
                   th:nth-of-type(6){
                    width:128px;
                   }
                   td{
                      border: none; 
                      
                      &:nth-of-type(3){
                       color:#5db705;
                      }  
                    }
                }
                tr:last-of-type{
                   border: none;
                }
           }
    
    
    }
    .dingdan_yeshu{
        margin: 11px 0 10px 0;
        font-size: 0;
        text-align: right;
        .dingdan_r{
            display: inline-block;
            span{
                display: inline-block;
                margin-top: -2px;
                font-size: 11px;
                color: #b7babd;
                &:first-of-type{
                margin-right: 19px;
                }   
            }
            a{  
                display: inline-block;
                font-size: 11px;
                color:#b7babd ;
                height: 36px;
                line-height:36px;
                width: 36px;
                text-align: center;
                &+a{
                    margin-left: 7px;
                }
                &[href]{
                    border: 1px solid #e7e7e7;
                    border-radius: 5px;
                    &:hover{
                    @include yeshu_hove;
                    }
                    &:active{
                        
                        @include yeshu_hove;
                    }
                }
                
            }
            span:nth-of-type(2){
                margin: 0 6px 0 14px;
                
            }
            form{
                display: inline-block;
                position: relative;
                font-size: 0;
                .text_yeshu{
                    display: inline-block;
                        border: 1px solid #e7e7e7;
                        width: 66px;
                        height: 36px;
                        border-radius: 5px;
                        &:hover{
                             @include yeshu_hove;
                        }
                        &:active{
                             @include yeshu_hove;
                        }
                    input[type="text"]{
                        width: 40px;
                        height: 34px;
                        padding-left: 5px;
                        border-radius: 5px;
                        border-style: none;
                        text-align: center;
                    }
                    span{
                        position: absolute;
                        top: 12px;
                        left:48px;
                        font-size: 13px;
                        cursor: auto; 
                    }   
                }
                input[type="submit"]{
                        width: 66px;
                        height: 36px;
                        border: 1px solid #e7e7e7;
                        border-radius: 5px;
                        background: none;
                        color: #b7babd;
                        margin-left: 9px;
                        cursor: pointer;
                        
                        &:hover{
                             @include yeshu_hove;
                        }
                        &:active{
                             @include yeshu_hove;
                        }
                }
            }
                
        }
    }
        
}





 